//路由跳转的权限校验
const express=require('express');
const route=express.Router();
//引入权限中间件
const isLoginMiddle=require('../middleware/isLoginMiddle');
route.get("/isLogin",isLoginMiddle,async(req,res)=>{
    res.send({
        code:10000,
        msg:'ok',
        data:null
    })
})
module.exports=route